\hypertarget{struct_texture_data}{
\section{TextureData Struct Reference}
\label{struct_texture_data}\index{TextureData@{TextureData}}
}


Data structure for storing data for OpenGL texture objects.  




{\ttfamily \#include $<$gamewidget.h$>$}

\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{struct_texture_data_a8e1cbc8424127d7a561d76821a7bd0b8}{
\hyperlink{defines_8h_a17ec5b7ab1af8732fecfbdc8a22ebef2}{TextureIndex} \hyperlink{struct_texture_data_a8e1cbc8424127d7a561d76821a7bd0b8}{name}}
\label{struct_texture_data_a8e1cbc8424127d7a561d76821a7bd0b8}

\begin{DoxyCompactList}\small\item\em Index for texture data in {\ttfamily \hyperlink{class_game_widget_a2deab9cd7f88307ef8755e110b6e25bd}{GameWidget::textureNames}}. \item\end{DoxyCompactList}\item 
\hypertarget{struct_texture_data_a4245e8d08703fe498af4e9bad337f29b}{
GLfloat \hyperlink{struct_texture_data_a4245e8d08703fe498af4e9bad337f29b}{width}}
\label{struct_texture_data_a4245e8d08703fe498af4e9bad337f29b}

\begin{DoxyCompactList}\small\item\em Width of the texture. \item\end{DoxyCompactList}\item 
\hypertarget{struct_texture_data_a55b9b7c9a789d8b24c5b4aee0ce51fe1}{
GLfloat \hyperlink{struct_texture_data_a55b9b7c9a789d8b24c5b4aee0ce51fe1}{height}}
\label{struct_texture_data_a55b9b7c9a789d8b24c5b4aee0ce51fe1}

\begin{DoxyCompactList}\small\item\em Height of the texture. \item\end{DoxyCompactList}\item 
\hypertarget{struct_texture_data_a3532c47ba2f50f4ab1731d120278b45d}{
std::vector$<$ GLfloat $>$ \hyperlink{struct_texture_data_a3532c47ba2f50f4ab1731d120278b45d}{vertexData}}
\label{struct_texture_data_a3532c47ba2f50f4ab1731d120278b45d}

\begin{DoxyCompactList}\small\item\em Vertex data for texture. \item\end{DoxyCompactList}\item 
\hypertarget{struct_texture_data_ac06622e86f4b9cd6e91aee6e3b99bdc2}{
std::vector$<$ GLfloat $>$ \hyperlink{struct_texture_data_ac06622e86f4b9cd6e91aee6e3b99bdc2}{textureCoordinateData}}
\label{struct_texture_data_ac06622e86f4b9cd6e91aee6e3b99bdc2}

\begin{DoxyCompactList}\small\item\em Coordinate data for texture. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Data structure for storing data for OpenGL texture objects. {\ttfamily \hyperlink{class_game_widget}{GameWidget}} class has methods for initializing texture data, e.g. {\ttfamily \hyperlink{class_game_widget_a3553123aee0f6502147f88c2684761a3}{GameWidget::GLes2InitTextureBomb()}}. 

The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
\hyperlink{gamewidget_8h}{gamewidget.h}\end{DoxyCompactItemize}
